package com.example.rbac.mapper;

import com.example.rbac.entity.RoleMenu;
import com.example.rbac.service.CurdService;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RoleMenuMapper extends CurdMapper<RoleMenu>{
    int insertByMenuId(@Param("menuId") String menuId, @Param("list") List<String> roleIds, @Param("state") String state);
}
